.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
}

input[type="text"] {
  padding: 0.5rem;
  margin-right: 0.5rem;
  width: 300px;
}

button {
  padding: 0.5rem 1rem;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

button.active {
  background: #0056b3;
}

.filters {
  margin: 1rem 0;
}

.filters button {
  margin-right: 0.5rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  margin: 0.5rem 0;
  background: #f8f9fa;
}

li.completed {
  background: #e9ecef;
  opacity: 0.7;
}

li input[type="checkbox"] {
  margin-right: 1rem;
}

li span {
  flex-grow: 1;
}

li small {
  margin-left: 1rem;
  color: #6c757d;
}